package com.zs.backend.modules.certificate.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zs.backend.modules.certificate.dto.UserCertificateDTO;
import com.zs.backend.modules.certificate.model.UserCertificate;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 证书表 服务类
 * </p>
 *
 * @author zs
 * @since 2024-03-18
 */
public interface UserCertificateService extends IService<UserCertificate> {

    Page<UserCertificateDTO> list(UserCertificateDTO userCertificateDTO, Integer pageSize, Integer pageNum);

    boolean addOrUpt(UserCertificateDTO certificate);

    boolean updateDel(Long id);

    UserCertificate getFileInfo(Long id);

}
